!!! 5
html
    head
        title=title
        meta(http-equiv="x-ua-compatible", content="IE=edge")
        != js("app")
        != css("app")
        block headJs
    if device == "wp8" || device == "wp7" || device == "wp"
        != css("device-wp")
        style(type="text/css").
            @-ms-viewport { width: 600px; }
    if device == "desktop"
        != css("device-desktop")

body(class="#{device == 'desktop' ? '' : 'mobile'}")
    #wrapper
        #header
            h1#topTitle(title="Counting.to - no frills countdowns for everyone!")=header

        block contents

        #footer
            span ©2013
            a.link(href="/", title="Home, sweet home.") New countdown
            a.link(href="/about", title="About counting.to") About
            a.link(href="/stats", title="Who, where, when and how") Stats
            .spacer
            a.share(href="http://www.facebook.com/Counting.to")
                img(src="/images/shareFacebook.png", title="Share on Facebook")
            a.share(href="http://gplus.to/Countingto")
                img(src="/images/shareGoogle.png", title="Share on Google+")
            a.share(href="http://twitter.com/Countingto")
                img(src="/images/shareTwitter.png", title="Share on Twitter")